<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@page import="com.oreilly.servlet.MultipartRequest"%>
<%@page import="com.oreilly.servlet.multipart.DefaultFileRenamePolicy"%>
<html>
<head>Intro</head>
<body>
<% 
String save = application.getRealPath("images");
int size = 5 * 1024 * 1024;
MultipartRequest multi = new MultipartRequest(request, save, size, "UTF-8", new DefaultFileRenamePolicy());

String id = new String(multi.getParameter("intro-id").getBytes("UTF-8"),"8859-1");

%>
</body>
</html>